define(function(require,exports,module){
    require("jquery");
    $.ajax({
        type:"get",
        url:"/member_borrow/companyHomeJson.html?id=" + window.location.search.split("=")[1] + "&randomTime=" + (new Date()).getTime(),
        dataType:"json",
        success:function(json){
            $("#company").html(Handlebars.compile(require("../../tpl/member_borrow/home.tpl"))(json));
            require.async(["/plugins/fancybox/jquery.fancybox.css","/plugins/fancybox/jquery.fancybox.pack"],function(){
                $(".fancybox").attr("rel","gallery").fancybox();
            })
        }
    });
})